package study.member.ju.weekDay3;

/**
 * 날짜 : 2014.12.01
 * 파일내용 : 오버라이딩
 */	
class Point {
	int x;
	int y;
	
	String getLocation() {
		return "x : " + x + "y, : " + y;
	}
}

class Point3D extends Point {
	int z;
	
	String getLocation() {
		return "x : " + x + ",y : " + y + ",z : " +z;
	}
}